﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HMIS.FrameWork.DomainBase;
using System.Reflection;
using Iesi.Collections.Generic;

namespace HMIS.Infrastructure.Core.Authority
{
	/// <summary>
	/// 针对MVC的Action的权限
	/// </summary>
	public class ActionPermission : BaseEntity
	{
		/// <summary>
		/// 请求地址
		/// </summary>
		public virtual string ActionName { get; set; }

		/// <summary>
		/// 请求地址
		/// </summary>
		public virtual string ControllerName { get; set; }

		/// <summary>
		/// 角色列表
		/// </summary>
		[System.Xml.Serialization.XmlIgnore]
		public virtual Iesi.Collections.Generic.ISet<Role> Roles { get; set; }
	}
}
